package com.maybach.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserDO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * This field corresponds to the database column b2b_user.id
	 */
	private Long id;

	/**
	 * This field corresponds to the database column b2b_user.login_name
	 */
	private String loginName;

	/**
	 * This field corresponds to the database column b2b_user.user_name
	 */
	private String userName;

	/**
	 * This field corresponds to the database column b2b_user.real_name
	 */
	private String realName;

	/**
	 * This field corresponds to the database column b2b_user.cert_no
	 */
	private String certNo;

	/**
	 * This field corresponds to the database column b2b_user.cert_imgs
	 */
	private String certImgs;

	/**
	 * This field corresponds to the database column b2b_user.visiting_card_imgs
	 */
	private String visitingCardImgs;

	/**
	 * This field corresponds to the database column b2b_user.country
	 */
	private String country;

	/**
	 * This field corresponds to the database column b2b_user.mobile
	 */
	private String mobile;

	/**
	 * This field corresponds to the database column b2b_user.password
	 */
	private String password;

	/**
	 * This field corresponds to the database column b2b_user.sex
	 */
	private Integer sex;

	/**
	 * This field corresponds to the database column b2b_user.partner_id
	 */
	private Long partnerId;

	/**
	 * This field corresponds to the database column b2b_user.status
	 */
	private Integer status;

	/**
	 * This field corresponds to the database column b2b_user.is_verify
	 */
	private Integer isVerify;

	/**
	 * This field corresponds to the database column b2b_user.invite_code
	 */
	private String inviteCode;

	/**
	 * This field corresponds to the database column b2b_user.out_invite_code
	 */
	private String outInviteCode;

	/**
	 * This field corresponds to the database column b2b_user.portrait_imgs
	 */
	private String portraitImgs;

	/**
	 * This field corresponds to the database column b2b_user.descri
	 */
	private String descri;

	/**
	 * This field corresponds to the database column b2b_user.attributes
	 */
	private String attributes;

	/**
	 * This field corresponds to the database column b2b_user.memo
	 */
	private String memo;

	/**
	 * This field corresponds to the database column b2b_user.gmt_modified
	 */
	private Date gmtModified;

	/**
	 * This field corresponds to the database column b2b_user.gmt_create
	 */
	private Date gmtCreate;

	/**
	 * This field corresponds to the database column b2b_user.email_address
	 */
	private String emailAddress;

	private String extNo;

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
	}
}